<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.rs.commons.RsConstant" %>	
<%@ taglib uri="/tags/c" prefix="c"%>
<%
    String contextPath = (String) request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css"  href="<%=contextPath %>/css/reset.css"
	rel="stylesheet" />
<link rel="stylesheet" href="<%=contextPath %>/css/style.css" type="text/css" />
<link rel="stylesheet" href="<%=contextPath %>/css/home.css" type="text/css" />
<link rel="stylesheet" type="text/css"
	href="<%=contextPath %>/js/jquery-easyui-1.3/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=contextPath %>/css/rs.css">
<link rel="stylesheet" type="text/css"
	href="<%=contextPath %>/js/jquery-easyui-1.3/themes/icon.css">
<script type="text/javascript"
	src="<%=contextPath %>/js/jquery-easyui-1.3/jquery-1.7.2.min.js"></script>
<script type="text/javascript"
	src="<%=contextPath %>/js/jquery-easyui-1.3/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="<%=contextPath %>/js/jquery-easyui-1.3/locale/easyui-lang-zh_CN.js"></script>
<title>医院管理</title>
<script type="text/javascript">
	function noImg(){
		var img=event.srcElement;  
		img.src="<%=contextPath%>/img/no_photo.jpg";  
		img.onerror=null; 控制不要一直跳动 

	}
</script>
</head>
<body><div class="admin_search mAtuo"
			style="width: 520px; background-color: #fff;">
			<table>
			<tr>
					<td class="textr w80">医生姓名：</td>
					<td>${entity.name }</td>				
					<td class="textr w80">性别：</td>
					<td class="w180">
					<c:if test="${entity.gender=='m'}">
					男 
					</c:if>
					<c:if test="${entity.gender=='f'}">
					女
					</c:if>
					
					</td>
				</tr>
				<tr>
					<td class="textr w80">所属医院：</td>
					<td class="w180">${entity.hospitalName }</td>
				
					<td class="textr w80">所属科室：</td>
					<td class="w180">${entity.sectionName }</td>
				</tr>
				<tr>
					<td class="textr w80">内部编码：</td>
					<td class="w180">${entity.selfCode }</td>
				
					<td class="textr w80">教育程度：</td>
					<td class="w180">${entity.education }</td>
				</tr>
				<tr>
					<td class="textr w80">专业职称：</td>
					<td class="w180">${entity.proTitle }</td>
				
					<td class="textr w80">从医年数：</td>
					<td class="w180">${entity.experience }</td>
				</tr>
				<tr>
					<td class="textr w80">医生图片：</td>
					<td class="w180"><img onerror="noImg();" src="<%=contextPath %>/upload${entity.path }" width="80" height="50"></td>
				
					<td class="textr w80">状态：</td>
					<td class="w180">
					<c:choose>
						<c:when test="${entity.status==0 }">
							无效
						</c:when>
						<c:otherwise>
						有效
						</c:otherwise>
					</c:choose>
	`				</td>
				</tr>
				
				<tr>
					<td class="textr w80">医生介绍：</td>
					<td colspan="3"  style="width:380px;WORD-BREAK: break-all; BORDER-COLLAPSE: collapse" >
					${entity.intro }
					</td>
				</tr>		
				<tr>
					<td class="textr w80">描述：</td>
					<td colspan="3">
					${entity.remark }
					</td>
				</tr>	
				</table>	
		</div>
</body>
</html>